import { NgModule, CUSTOM_ELEMENTS_SCHEMA  } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpModule }    from '@angular/http';
import { PolymerElement } from '@vaadin/angular2-polymer';

import { BusinessComponent } from './business.component';
import { BusinessListComponent } from './list/list.component';
import { BusinessAddComponent } from './add/add.component';

import { BusinessRoutingModule } from './business-routing.module';

@NgModule({
    imports: [
        CommonModule,
        HttpModule,
        BusinessRoutingModule
    ],
    declarations: [
        PolymerElement('vaadin-grid'),
        PolymerElement('paper-input'),
        BusinessComponent,
        BusinessListComponent,
        BusinessAddComponent
    ],
    schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
export class BusinessModule { }
